# Maintainer: Martijn Braam <martijn@brixit.nl>
pkgname=hiprompt-gtk-py
pkgver=0_git20230225
pkgrel=0
_commit=8d6ef1d042ec2731f84245164094e622f4be3f2d
pkgdesc="A GTK+ Himitsu prompter for Wayland"
url="https://git.sr.ht/~sircmpwn/hiprompt-gtk-py"
arch="noarch"
license="GPL-3.0-or-later"
source="$pkgname-$_commit.tar.gz::https://git.sr.ht/~sircmpwn/hiprompt-gtk-py/archive/$_commit.tar.gz"
depends="python3 py3-gobject3 gtk+3.0"
makedepends="py3-setuptools glib-dev meson ninja"
builddir="$srcdir/$pkgname-$_commit"

build() {
	abuild-meson . output
	meson compile -C output
}

check() {
	meson test --no-rebuild -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
cac43582ae8de7cb0c68cf28309644a10b6e797d8477ff6af06fc18fd14c3a3a86ae6f17e1f549b39dd263cd43482219a2fb10c7e77e5863da5c72f28c66993c  hiprompt-gtk-py-8d6ef1d042ec2731f84245164094e622f4be3f2d.tar.gz
"
